Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 7 - Transform Objects / Transform Objects Reference
Transform Objects Routines / Creating and Manipulating Rotate-About-Axis Transforms


Q3RotateAboutAxisTransform_GetOrientation

You can use the Q3RotateAboutAxisTransform_GetOrientation function to get the orientation of the axis of rotation of a rotate-about-axis transform.

TQ3Status Q3RotateAboutAxisTransform_GetOrientation (
TQ3TransformObject transform, 
TQ3Vector3D *axis);
transform
A rotate-about-axis transform.
axis
On exit, the orientation of the axis of the specified rotate-about-axis transform. This vector is normalized.
DESCRIPTION
The Q3RotateAboutAxisTransform_GetOrientation function returns, in the axis parameter, the current orientation of the axis of rotation of the rotate-about-axis transform specified by the transform parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996